package com.sample.BouncingBall;


import android.app.Activity;

import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextView;

public class BouncingBallActivity extends Activity {
	BouncingView bv;
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        bv= (BouncingView) findViewById(R.id.ball);
        bv.setTextView((TextView) findViewById(R.id.textView1));
        //LinearLayout layout=(LinearLayout)findViewById(R.id.layout1);
        //BouncingView bView= new BouncingView(this);
        //layout.addView(bv);
    }
}